package com.springcloud.alibaba.dao;

import com.springcloud.alibaba.domain.Order;
import org.apache.ibatis.annotations.Param;

public interface OrderDao {

    //1 新建Order
    void create(Order order);

    //2 修改订单状态0->1
    void update(@Param("userId") Long userId, @Param("status") Integer status);
}
